package com.roncoo.permission.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuechuanhao
 * @since 2021-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AdminroleTMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限id
     */
    @TableId(value = "permissionsId", type = IdType.AUTO)
    private Integer permissionsid;

    /**
     * 角色名
     */
    @TableField("roleId")
    private Integer roleid;

    /**
     * 权限
     */
    private Integer mid;
    @TableField(exist = false)
    private TMenu tMenu;


}
